package com.redhipps.hips.client.model;

import java.util.List;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;


@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ScheduleSolution extends Model {

  @Persistent(serialized = "true")
  private String message;

  @Persistent
  private List<ScheduleSolutionBlock> scheduleSolutionBlocks;

  public ScheduleSolution() {}

  @Deprecated
  public ScheduleSolution(PythonDatastoreKey key) {
    super(key);
  }

  public List<ScheduleSolutionBlock> getScheduleSolutionBlocks() {
    return scheduleSolutionBlocks;
  }

  public void setScheduleSolutionBlocks(
      List<ScheduleSolutionBlock> scheduleSolutionBlocks) {
    this.scheduleSolutionBlocks = scheduleSolutionBlocks;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

}
